public class Area
{
	private Coord corner1,corner2;

	public Area(int x1, int y1, int x2, int y2)
	{
		corner1 = new Coord(x1,y1);
		corner2 = new Coord(x2,y2);
	}

	public int getX1()
	{
		return corner1.getX();
	}

	public int getY1()
	{
		return corner1.getY();
	}

	public int getX2()
	{
		return corner2.getX();
	}

	public int getY2()
	{
		return corner2.getY();
	}
}